import React, { useContext } from 'react'
import { Context } from '../App'

export default function About5() {
    const { state, dispatch} = useContext(Context)
    return (
        <div>
            About5 -- { state.age }
            <button onClick={() => {
                dispatch({ type: "ADD" })
            }}>点我修改</button>
        </div>
    )
}
